<!-- 图文列表 -->
<article style="position: relative;">
  <div class="blogs left-box">
<!--    <div class="whitebg lanmu">
   <img src="https://www.yangqq.com/d/file/qiyewangzhanzhizuo/2019-03-04/68dfdf8b947906b89a90fcd1591c8509.png">
   <h1><a href="#"><?php echo $forum['name'];?></a></h1>
     <p><?php echo $forum['brief'];?></p>

 </div> -->

<?php
if(!empty($taglist))
  include _include(APP_PATH."plugin/di_blogs/html/catelist.htm");
?>

    <div class="clear blank"></div>

    <div class="blogs-box whitebg">
      <div class="news-title">
        <h2 style="text-align: center;"><a href="/category-<?php echo $fid;    ?>">
          <?php  echo $forum['name'];  ?></a></h2>
      </div>
      <div class="blogs-list">
        <ul>
        <?php

        if($threadlist) {
        foreach($threadlist as &$_thread) {
         if(!empty($tagid))  if($_thread['tagids'] != $tagid)  continue;
         $randimg=rand(1,30);
        ?>
          <li>

           <i><a href="/article-<?php echo $_thread['tid']; ?>.html">
               <img src="./plugin/di_blogs/randimg/<?php echo $randimg  ?>.jpg" alt="<?php echo $_thread['subject']; ?>"></a></i>
         <h2>
          <?php if($_thread['top'] == 1) echo '<em>置顶</em>';  ?>
          <?php if($_thread['files'] == 1) echo '<em style="background: #f67">附件</em>';  ?>

          <!--   标题 -->
          <a href="/article-<?php echo $_thread['tid']; ?>.html" ><?php echo $_thread['subject']; ?></a></h2>
            <p><?php $message=post_read($_thread['firstpid'])['message']; echo xn_substr(strip_tags($message),0,90);  ?></p>
            <span>
              <!-- 标签 -->
              <?php echo get_fenci_tag($_thread['tid']);   ?>
           </span>
          </li>
         <?php }} ?>


        </ul>
      </div>
      <div class="pagelist"></div>
    </div>
  </div>
 <!-- 右侧 -->
<?php include _include(APP_PATH.'plugin/di_blogs/html/right.inc.htm'); ?>

</article>
